<?php

Raise::load('db.RaiseDbModel');

/**
 * MockRaiseDbModel class
 * a mock RaiseDbModel object
 *
 * @author Sam-Mauris Yong <hellclanner at live dot com>
 * @license http://www.opensource.org/licenses/bsd-license New BSD License
 * @package Raise.UnitTest.Mocks
 */
class MockRaiseDbModelCategory extends RaiseDbModel {

    protected $table = 'MockCategory';

    protected function initialize() {
        $userRelationship = new RaiseDbManyToMany('UserInCategory', 'MockRaiseDbModel');
        $this->relationships->add($userRelationship);
    }

}